package com.mybatisdemo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.util.Date;

@Data
@TableName("iot_message")
public class IotMessage {

    @TableId(type = IdType.AUTO)
    private int id;
    private int wendu;
    private int jiawan;
    private int fengji;
    private int renti;
    private int tanzhaodeng;
    private int baojing;
    private int fengmingqi;
    private int zhuangtai;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String createtime;

}
